package net.perretxiko.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HomeController {


	
	@RequestMapping("/home")
	public ModelAndView hasiera() {
		
		
		return new ModelAndView("home");
	}

	@RequestMapping("/")
    public ModelAndView hasiera2() {
     return new ModelAndView("login");
	}
	
}
